package top.soning.disk.entity;

import java.math.BigInteger;

public class CatalogueEntity {
    public String getPathHash() {
        return pathHash;
    }

    public void setPathHash(String pathHash) {
        this.pathHash = pathHash;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getServeFileName() {
        return serveFilename;
    }

    public void setServeFileName(String serveFileName) {
        this.serveFilename = serveFileName;
    }

    public Long getServeCtime() {
        return serveCtime;
    }

    public void setServeCtime(Long serveCtime) {
        this.serveCtime = serveCtime;
    }

    public boolean getDir() {
        return isDir;
    }

    public void setDir(Boolean dir) {
        isDir = dir;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    private String pathHash;
    private Long uid;
    private Long fid;
    private String path;
    private String serveFilename;
    private Long serveCtime;
    private boolean isDir;
    private Long size;
    private boolean isDel;

    @Override
    public String toString() {
        return "CatalogueEntity{" +
                "pathHash='" + pathHash + '\'' +
                ", uid=" + uid +
                ", fid=" + fid +
                ", path='" + path + '\'' +
                ", serveFileName='" + serveFilename + '\'' +
                ", serveCtime=" + serveCtime +
                ", isDir=" + isDir +
                ", size=" + size +
                '}';
    }
}
